/*
 * Rectangle.h
 *
 *  Created on: Feb 26, 2011
 *      Author: topcoder
 */

#ifndef RECTANGLE_H_
#define RECTANGLE_H_

class Rectangle
{
public:
	Rectangle(const float len, const float width);
	double getArea() const;
	double getPerimeter() const;
        void setLength(float len);
        void setWidth(float width);	
	
private:
        float len_m, width_m;
        bool isValidRectangle() const;
};

#endif /* RECTANGLE_H_ */
